package com.wteam.PoJo.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("购买的商品")
@Data
public class buygood {
    @ApiModelProperty(value = "商品id")
    private Integer goodId;

    @ApiModelProperty(value = "商品名字")
    private String goodname;

//    @ApiModelProperty(value = "商品类型id")
//    private Integer goodtype;

    @ApiModelProperty(value = "商品图片")
    private String goodphoto;

    @ApiModelProperty(value = "商品数量")
    private Integer goodnumber;

    @ApiModelProperty(value = "商品单价")
    private Double goodprice;

    @ApiModelProperty(value = "用户id")
    private Integer memberId;

    @ApiModelProperty(value = "用户姓名")
    private String memberName;

    @ApiModelProperty(value = "收货地址id")
    private Integer consignee_address_id_path;
    //
    @ApiModelProperty(value = "收货电话")
    private String consigneeMobile;


    @ApiModelProperty(value = "收货省份")
    private String province;

    @ApiModelProperty(value = "收货城市")
    private String urban;

    @ApiModelProperty(value = "详细地址")
    private String fulladdress;

    @ApiModelProperty(value = "收货人姓名")
    private String consigneeName;

    @ApiModelProperty(value = "用户选择积分")
    private Integer point;

    @ApiModelProperty(value = "用户选择优惠卷")
    private Integer couponId;

    @ApiModelProperty(value = "原总价格")
    private Double flowPrice;

    @ApiModelProperty(value = "优惠金额")
    private Double discountPrice;

    @ApiModelProperty(value = "优惠后的金额")
    private Double discountFlowPrice;



}
